package com.huang.wishstar.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author hmx
 * @since 2021-09-13
 */
@Data
  @EqualsAndHashCode(callSuper = false)
  @Accessors(chain = true)
public class Users implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "user_id", type = IdType.AUTO)
      private Integer userId;

    @TableField(value="user_mail")
    private String userMail;

    private String nickname;

    private String password;

    private String headImage;

    private String phone;

    private String motto;

    private LocalDateTime gmtCreate;

    private LocalDateTime gmtModified;

      /**
     * 逻辑删除
     */
      private Integer deleted;


}
